package org.jeecg.modules.flower.vo;

import java.util.List;
import org.jeecg.modules.flower.entity.FlowerBoxes;
import org.jeecg.modules.flower.entity.FlowerBoxesDetal;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 采后装箱管理
 * @Author: jeecg-boot
 * @Date:   2022-11-21
 * @Version: V1.0
 */
@Data
@ApiModel(value="flower_boxesPage对象", description="采后装箱管理")
public class FlowerBoxesPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**编号*/
	/**编号*/
	@Excel(name = "箱编号", width = 15 ,needMerge = true)
	@ApiModelProperty(value = "箱编号")
	private String boxno;

	@Excel(name = "数量", width = 15 ,needMerge = true)
	@ApiModelProperty(value = "数量")
	private Integer number;

	/**状态*/
	@Excel(name = "状态", width = 15,replace={"已装箱_1","已出库_0"} ,needMerge = true)
	@ApiModelProperty(value = "状态（0已装箱，1已出库）")
	private Integer state;
	/**创建人*/
	@Excel(name = "创建人", width = 15, needMerge = true)
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
    private Date updateTime;

	@ExcelCollection(name="采后装箱子表")
	@ApiModelProperty(value = "采后装箱子表")
	private List<FlowerBoxesDetal> flowerBoxesDetalList;

}
